// driver.h
// 25 September 2011
// Purpose: Driver for our bit-mouse program

#include "map.h"
#include "mapGen.h"
#include "mouse.h"

#include <iostream>
using std::cout;
using std::cin;
using std::endl;

int main()
{
	int x;
	int y;
	int seed;
	int odds;
	int loops;
	int odds2;
	while (true)
	{
		cout<<"\nx y seed odds loops trunkodds"<<endl;
		cin>>x>>y>>seed>>odds>>loops>>odds2;
		MapGen mapthing(x,y,seed,odds,loops,odds2);
		mapthing.displaymap();
	}
	return 0;
}


/*
void main()
{
	int myInt[10]={0x0fbfe,0xdfffe,0xdfffc,0xcfff1,0xefff7,0xe0007,0xfffff,0xfffff,0xfffff,0xfffff};
	Coordinate start;
	start._x=1<<32;
	start._y=0;
	Coordinate finish;
	finish._x=1;
	finish._y=0;
	Map n(10,myInt,start,finish);
	n.displayMap(std::cout);

	Mouse m(n);
	m.displayMap(n);
	
	MapGen myRandomMap(5,5);//creates a random map of 5 width and 5 height using a default agorithm (any one of ours)

	myRandomMap.sylerAlgorithm();
	//Call a member function of MapGen to further randomize maze here

	Map myMap();//creates a blank map which will store our 1-d array

	myMap=myRandomMap;//converts the random map 2-d map to our 1-d map that mouse uses.

	Mouse littleMouse(myMap);//creats a new mouse and assigns the starting point from the map.

	littleMouse.solve(myMap);//the mouse attempts to solve the map and prints out each move to the screen. We can have multiple .solve member functions of mouse for differnt algorhtims

	return//Our program is done!

	return ;
}

*/